package org.example.medicalstaff.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Repository
@TableName("fmeditem")
public class FmedItem {

    @TableId(value="ID",type = IdType.AUTO)
    private int ID;

    @TableField(value = "ItemCode")
    private String ItemCode;

    @TableField(value = "ItemName")
    private String ItemName;

    @TableField(value = "Format")
    private String Format;

    @TableField(value = "Price")
    private BigDecimal Price;

    @TableField(value = "ExpClassID")
    private int ExpClassID;

    @TableField(value = "DeptID")
    private int DeptID;

    @TableField(value = "MnemonicCode")
    private String MnemonicCode;


    @TableField(value = "CreationDate")
    private Date CreationDate;

    @TableField(value = "LastUpdateDate")
    private Date LastUpdateDate;

    @TableField(value = "RecordType")
    private int RecordType;

    @TableField(value = "DelMark")
    private int DelMark;

}
